﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Slam.FieldTypes
{
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
	public class SlamFieldActionAttribute : Attribute
	{
		public SlamFieldActionType ActionType { get; set; }
		public string DisplayName { get; set; }
		public bool Synchronous { get; set; }
	}

	public enum SlamFieldActionType
	{
		Load,
		PreSave,
		PostSave
	}
}
